/* 马亚杰 盒子带两边带斜杠
<div class="fifth_floor">
    <div class="main-box">
        <span class="box-left"><i></i></span>
            <h3>爆款推荐</h3>
        <span class="box-right"><i></i></span>
        </div>
</div> */

.fifth_floor{
    width: 100%;
    height: 1.95rem;
    display:flex;
    justify-content: center;
    align-items: center;
    .main-box{
        padding: 0 .6rem;
        height: 0.98rem;
        border: 1px solid;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        span{
            display: inline-block;
            width: 0.45rem;
            height: 0.45rem;
            background: #fff;
            position: absolute;
            top:50%;
            transform: translateY(-50%);
            i{
                display: block;
                width: 100%;
                height: 0.02rem;
                background: #000;
            }
        }
        .box-left{
            display: flex;
            align-items: center;
            left: -0.22rem;
            i{
                transform: rotate(-45deg);
            }
            
        }
        .box-right{
            right: -0.22rem;
            display: flex;
            align-items: center;
            i{
                transform: rotate(-45deg);
            }
        }
        h3{
            font-size: 0.4rem;
            font-weight: 600;
        } 
    }
}



/* 
    <div class="return">
        <div class="return_before">
            <a href="#">
                <i class="iconfont icon-right"></i>
                <span>返回</span>
            </a>
        </div>
        <h1>SECOO</h1>
        <div class="rightPic">
            <i class="iconfont icon-icon- menu"></i>
            <div class="right_menu">
                <a href="#">
                    <i class="iconfont icon-shouye"></i>
                    <span>首页</span>
                </a>
                <a href="#">
                    <i class="iconfont icon-fenlei"></i>
                    <span>分类</span>
                </a>
                <a href="#">
                    <i class="iconfont icon-gouwudai"></i>
                    <span>购物袋</span>
                </a>
                <a href="#">
                    <i class="iconfont icon-icon-1"></i>
                    <span>我的寺库</span>
                </a>
            </div>
        </div>
    </div>
*/
.return{
    width:100%;
    height:.88rem;
    display:flex;
    justify-content: space-around;
    align-items:center;
    .return_before {

        a{
            font-size:.36rem;
            color:#474747;
            display: block;
            width:1.4rem;
            i{
                font-size:.36rem;
                font-weight:bold;
                margin: .22rem 0 0 .2rem;
            }
            span{
                line-height: .88rem;
            }
        }
    }
    h1{
        display: flex;
        justify-content:center;
        font-size:.36rem;
        width:4.7rem;
        line-height:.88rem;
    }
    .rightPic{
        width:1.4rem;
        height:100%;
        display:flex;
        justify-content:center;
        align-items:center;
        position: relative;
        i{
            font-size:.5rem;
        }
        .right_menu{
            display: none;
            position: absolute;
            top:.88rem;
            right:0;
            width:2.3rem;
            height:3.36rem;
            background: #fefefe;
            opacity: .9 !important;
            font-size: .26rem;
            z-index:9;
            a{
                height: .84rem;
                width: 100%;
                color:#1a191e;
                display: flex;
                align-items:center;
                padding-left:.3rem;
                position: relative;
                i{
                    font-size:.36rem;
                    font-weight: bold;
                    margin-right:.33rem;
                }
                &:not(:last-child)::after{
                    width: 1.7rem;
                    content: "";
                    height: 0.01rem;
                    background: #ccc;
                    display: block;
                    position: absolute;
                    bottom: 0rem;
                    left: 0rem;
                    margin-left: .3rem;
                }
            }
            
        }   
    }
}
/* 模板 拖拽模板 span字体颜色修改红色添加.red类名
    若灰色字体无划线添加行内样式例：<i style="text-decoration:none">￥ 69800</i>
    <div class="through">
        <div class="drag">
            <a href="javascript:;" class="smallone">
                <div class="imj">
                    <img src="../img/zl/floor1_1.jpg" alt="">
                </div>
                <p>Glashutte Original(格拉苏蒂)原创艺术与工艺系列男士自动机械腕表</p>
                <span>现货超值 ￥ 67045</span>
                <i>￥ 69800</i>
            </a>
        </div>
    </div>    
*/
.through{
    position: relative;
    width:7.5rem;
    height:4.6rem;
    overflow: hidden;
    .drag{
        display: flex;
        flex-wrap:nowrap;
        position: absolute;
        top:0;
        left:0;
        a{
            display: block;
            width:3.2rem;
            padding:.12rem .2rem .2rem;
            color:#000;
            height:4.6rem;
            div{
                width:2.6rem;
                position: relative;
                img{
                    width:2.6rem;
                    height:2.6rem;
                }
                &::after{
                    content: '';
                    display: block;
                    background-color: rgba(0, 0, 0, 0.03);
                    position: absolute;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    left: 0; 
                }
            }
            p{
                height:.6rem;
                line-height: .3rem;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                font-size:.3rem;
                margin:.1rem 0 .06rem;
            }
            span{
                display: block;
                font-size:.32rem;
            }
            .red{
                color:#ff2600;
            }
            i{
                display: block;
                margin-top:.1rem;
                color: #999999;
                text-decoration: line-through;
            }
        }
    }
}

/* 
    奇数个 feature_one 中添加类名right 复用feature_one所在标签
    <div class="feature_all">
        <div class="feature_one  right">
            <a href="##">
                <img src="../img/zl/bd_3.jpg" alt="">
                <div>
                    <h3>本周特惠专区</h3>
                    <span>每周一更新</span>
                    <i>查看更多</i>
                </div>
            </a>
        </div>
    </div>
*/
.feature_all{
    width:100%;
    height:100%;
    display: flex;
    flex-wrap:wrap;
    justify-content: space-between;
    .feature_one{
        width:3.74rem;
        height:6.12rem;
        padding-bottom:.44rem;
        a{
            display: block;
            color:#000;
            div{
                margin-top:.24rem;
                display: flex;
                flex-direction:column;
                align-items:center;
                h3{
                    font-size:.3rem;
                    font-weight:bold;
                }
                span{
                    margin:.1rem 0;
                    display: block;
                }
                i{
                    padding:.1rem .48rem;
                    border:.01rem solid #000;
                }
            }
        }
    }
    .right{
        border-right:.02rem solid #eeeeee;
    }
    .bottom{
        margin-bottom:.2rem;
    }
}
/* 
    最后两个添加类名last-2 复用seckill_one所在标签

    <div class="seckill_all">
        <span></span> //这里的span是本侧样式是否有导航  右边的无border在行内样式添加无border属性
        <div class="seckill_one">
            <a href="##">
                <img src="../img/zl/bd_6.jpg" alt="">
                <div>
                    <p>Michael Kors/迈克·科尔斯 MK 女士酒红色真皮手拿包零钱包 35S6GTTW2L MERLOT</p>
                    <span>秒杀价￥ 399</span>
                    <i>￥ 499</i>
                </div>
            </a>
        </div>
    </div>
    如果有售罄添加
    <div class="pro_soldOut selected">
        <span>售罄</span>
    </div>
*/
.seckill_all{
    width:100%;
    height:100%;
    display: flex;
    flex-wrap:wrap;
    justify-content: space-between;
    span{
        display: block;
        width:50%;
        text-align:center;
        color: #7f7f7f;
        border-right:.02rem solid #cccccc;
        margin-bottom:.4rem;
    }
    .seckill_one{
        width:3.74rem;
        height:5.64rem;
        padding-bottom:.3rem;
        border-right:.02rem solid #eeeeee;
        border-bottom:.02rem solid #eee;
        a{
            display: block;
            color:#343222;
            .pic_box{
                width: 100%;
                height: 3.74rem;
                position: relative;
            }
            .selected{
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background: rgba(255,255,255,0.6);
                display: flex;
                justify-content: center;
                align-items: center;
                span{
                    width: 1.03rem;
                    height: 1.03rem;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    background: rgba(0,0,0,0.8);
                    font-size: 28px;
                    color: #fff;
                    border-radius: 100%;
                }
            }
            img{
                width: 100%;
                height: 100%;
            }
            div{
                padding:0 .18rem;
                p{
                    height:.6rem;
                    line-height: .29rem;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    margin:.1rem 0 .06rem;
                }
                span{
                    display: block;
                }
                i{
                    text-decoration:line-through;
                }
            }
        }
        &:not(:nth-child(odd)){
            border-right:none;
        }
    }
    .last-2{
        border-bottom:none;
    }
}

/*
    左图，右字
    <div class="activeHandle">
        <div class="left">
            <img src="../img/sss/starcoo2.jpg" alt="">
        </div>
        <div class="right">
            <p>超跑真正血统</p>
            <span>感受速度与激情</span>
            <button>查看更多</button>
        </div>
    </div>
*/
.activeHandle{
    display:flex;
    .left{
        width: 4.4rem;
    }
    .right{
        display:flex;
        flex-wrap:wrap;
        width: 3.1rem;
        flex-direction:column;
        align-items:center;
        p{
           font-size:.44rem;
           margin-top:.8rem;
           margin-bottom:.05rem;
           font-weight: bold;
        }
        button{
            width: 2rem;
            height: 0.5rem;
            background-color:#fff;
            border:.01rem solid;
            margin-top:.5rem;
            font-size:.28rem;
        }
    }
}
/* 头部大图样式 
    <div class="top_panel">
        <img src="../img/zl/wb_1.jpg" alt="">
    </div>
*/
.top_panel{
    width:7.5rem;
    height:4.2rem;
    margin-bottom:.2rem;
    img{
        width:7.5rem;
        height:4.2rem;
    }
}
/* 方框两边斜杠 文字过长自在box所在类名添加行内样式定宽
    <div class="white_floor">
        <div class="box">
            <span></span>
            <span>精品活动</span>
            <span></span>
        </div>
    </div>
*/

.white_floor{
    margin-bottom:.5rem;
    padding-top:.6rem;
    display: flex;
    justify-content: center;
    .box{
        width:2.94rem;
        height:.96rem;
        display: flex;
        border:.02rem solid #808080;
        position: relative;
        justify-content: center;
        span:nth-child(1){
            display: block;
            width: .6rem;
            height: .6rem;
            position: absolute;
            left:-.3rem;
            top:.18rem;
            background: #fff;
            &::after{
                width: .5rem;
                height:.02rem;
                display: block;
                margin-top:.3rem;
                content:"";
                background:#808080;
                transform: rotateZ(-39deg)
            }
        }
        span:nth-child(2){
            height:.92rem;
            line-height: .92rem;
            font-size: .4rem; 
            font-weight: bold;
            text-align: center;
        }
        span:nth-child(3){
            display: block;
            width: .6rem;
            height: .6rem;
            position: absolute;
            right:-.3rem;
            top:.18rem;
            background: #fff;
            &::after{
                width: .5rem;
                height:.02rem;
                display: block;
                margin-top:.3rem;
                content:"";
                background:#808080;
                transform: rotateZ(-39deg)
            }
        }
    }
}
/* 大图图上有文字加白色背景套小图
    <div class="top_panel panel-thing">
        <div class="test">
            <h2>北京线下体验中心</h2>
            <span>彻夜不眠的狂欢酒会</span>
        </div>
        <div class="topnav">
            <a href="#">
                <img src="../img/zl/ldkh_4.jpg" alt="">
                <span>包袋</span>
            </a>
            <a href="#">
                <img src="../img/zl/ldkh_5.jpg" alt="">
                <span>腕表</span>
            </a>
            <a href="#">
                <img src="../img/zl/ldkh_6.jpg" alt="">
                <span>首饰</span>
            </a>
            <a href="#">
                <img src="../img/zl/ldkh_7.jpg" alt="">
                <span>配饰</span>
            </a>
            <a href="#">
                <img src="../img/zl/ldkh_8.jpg" alt="">
                <span>服装</span>
            </a>
            <a href="#">
                <img src="../img/zl/ldkh_9.jpg" alt="">
                <span>鞋靴</span>
            </a>
            <a href="#">
                <img src="../img/zl/ldkh_10.jpg" alt="">
                <span>酒水</span>
            </a>
            <a href="#">
                <img src="../img/zl/ldkh_11.jpg" alt="">
                <span>家居</span>
            </a>
        </div>
        <div class="yinying"></div>
    </div>
    美妆页面背景图.meizhung
*/

.panel-thing{
    height:7.2rem;
    padding-bottom:.8rem;
    background: url(../img/zl/ldkh_3.jpg) no-repeat;
    color:#fff;
    position: relative;
    .yinying{
        width:100%;
        height: 5rem;
        background: #040404;
        opacity: .3;
        position: absolute;
        top:0;
        left:0;
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
    }
    .test{
        position: absolute;
        top:0;
        left:0;
        height: 2.9rem;
        width:100%;
        text-align: center;
        display: flex;
        flex-direction:column;
        justify-content: center;
        flex-wrap:nowrap;
        z-index: 2;
        h2{
            font-size:.4rem;
            font-weight:bold;
        }
        span{
            margin-top:.1rem;
            font-size:.28rem;
        }
    }
    .topnav{
        position: absolute;
        z-index: 2;
        top:2.9rem;
        left:0.3rem;
        width: 6.9rem;
        height:3.8rem;
        background: #fff;
        display: flex;
        padding-top:.3rem;
        flex-wrap:wrap;
       a{
           display: block;
           width:25%;
           display:flex;
           flex-direction:column;
           align-items:center;
           justify-content: space-between;
           color:#000;
           padding-bottom: .3rem;
           img{
               width:1rem;
               height:1rem;
           }
       }
    }
}
.meizhung{
    height:8.7rem;
    background: url(../img/zl/mz_9.jpg) no-repeat;
}
/* 灰色小背景  一列4个 靠右边的一个无margin 添加类名margin-right-no
    元素li有下部margin时添加margin-bottom
    <div class="small_bg">
        <ul>
            <li class="margin-bottom">
                <span>欧米茄</span>
                <img src="../img/zl/wbfls_1.png" alt="">
            </li>
        </ul>
    </div>
*/
.small_bg{
    padding:0 .1rem;
    ul{
        display: flex;
        flex-wrap:wrap;
        flex-grow:25%;
        width:100%;
        li{
            margin-right:.1rem;
            width:23.9%;
            height:2.4rem;
            background: #f5f5f5;
            span{
                display: block;
                text-align: center;
                font-size:.3rem;
                color: #333333;
                margin: .2rem 0 .3rem;
            }
            img{
                width:1.75rem;
            }
        }
        .margin-right-no{
            margin-right:0;
        }
        .margin-bottom{
            margin-bottom:.1rem;
        }
    }
}
/* 大字标签  独占一行
    <h2>精选专题</h2>
*/
h2{
    padding:.5rem 0 .3rem .3rem;
    font-size: .44rem;
    font-weight: bold;
}
/* 左边图片右边带按钮的样式
    添加margin 添加类名margin-b
    <div class="activeHandle">
        <div class="left">
            <img src="../img/xiao/43267f8a3866471db85789dd9b72f618.jpg" alt="">
        </div>
        <div class="right">
            <p>当代艺术典藏</p>
            <span>法蓝瓷</span>
            <button>点击查看</button>
        </div>
    </div>

*/
.margin-b{
    margin-bottom:.2rem;
}
.activeHandle{
        display:flex;
        .left{
            width: 4.4rem;
        }
        .right{
            display:flex;
            flex-wrap:wrap;
            width: 3.1rem;
            flex-direction:column;
            align-items:center;
            // justify-content:center;
            p{
               font-size:.44rem;
               margin-top:.8rem;
               margin-bottom:.05rem
            }
            button{
                width: 2rem;
                height: 0.5rem;
                background-color:#fff;
                border:.01rem solid;
                margin-top:.5rem;
                font-size:.28rem;
            }
        }
    }